package com.bnz.pojo;


import lombok.*;

@Getter
@Setter
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {

    private Integer sid;
    private String sex;
    private String sname;
    private String addr;
    private Integer age;
    private Integer cid;

    public void init(){
        System.out.println("开始建立学生");
    }

    public void destroy(){
        System.out.println("开始销毁学生");
    }


}
